﻿package
{
	import treatBehavior.*;
	public class TreatRoadArr implements IGetRoadArr
	{
//================ Constants ========================================================

//================ Constructor ======================================================
		public function TreatRoadArr(drawRoad:IGetRoadArr):void
		{
			drawRoad=drawRoad;
			init();
		}
//================ Valuables ========================================================
		private var drawRoad:IGetRoadArr;
		private var treatRoadArr:Array;
		private var trBehavior:ITreatBehavior;
//================ Properties =======================================================
//------------------------------
//		abc
//------------------------------
//================ Public Methods ===================================================
		public function getRoadArr():Array
		{
			treatRoadArr=new Array();
			treat();
			return treatRoadArr;
		}

		public function getTreatBehavior(tr):void
		{
			trBehavior=tr;
		}
//================ Private Methods ==================================================
		private function init():void
		{	
		}
		private function treat():void
		{
			treatRoadArr=trBehavior.getTreatArr();
		}
//================ Destroy ==========================================================	
	}
}